﻿using UnityEngine;

namespace Script
{
    public interface IPoolObject
    {
        IPoolObject CreatePoolObject();
        void GetPoolObject();
        void ReleasePoolObject();
        void DestroyPoolObject();
    }
    
    public abstract class PoolObjectBase :MonoBehaviour, IPoolObject
    {
        public abstract IPoolObject CreatePoolObject();
        public abstract void GetPoolObject();
        public abstract void ReleasePoolObject();
        public abstract void DestroyPoolObject();
    }
}